package aoj.no_1000;

import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedReader;

public class No_1000 {
	public static void main(String[] args) throws IOException {
		InputStreamReader input = new InputStreamReader(System.in);
		BufferedReader reader = new BufferedReader(input);
		
		String line = reader.readLine();
		while(line != null) {
			String[] operand = line.split(" ");
			int left = Integer.parseInt(operand[0]);
			int right = Integer.parseInt(operand[1]);
			System.out.println(left + right);
			line = reader.readLine();
		}
	}
}
/*
1 2
10 5
100 20 
*/
